﻿namespace MiniJob.Worker.Runtime;

public abstract class JobActivatorFactory
{
    /// <summary>
    /// Creates the <see cref="JobActivator" /> for the provided <paramref name="type" />.
    /// </summary>
    /// <param name="type">The <see cref="JobTypeInformation" />.</param>
    /// <returns>An <see cref="JobActivator" />.</returns>
    public abstract JobActivator CreateActivator(JobTypeInformation type);
}
